import request from '@/utils/request'


// 员工资质详情
export function qualificationApiEmployeeDetail (employeeId) {
  return request({
    url: `/backAdmin/qualificationApi/employee/detail?employeeId=${employeeId}`,
    method: 'get',
  })
}

// 商家资质详情
export function qualificationApiMerchantDetail (merchantId) {
  return request({
    url: `/backAdmin/qualificationApi/merchant/detail?merchantId=${merchantId}`,
    method: 'get',
  })
}

// 获取员工资质列表
export function getEmployeeQualificationList(query) {
  return request({
    url: '/backAdmin/qualificationApi/employee/list',
    method: 'get',
    params: query
  })
}

// 获取商家资质列表
export function getMerchantQualificationList(query) {
  return request({
    url: '/backAdmin/qualificationApi/merchant/list',
    method: 'get',
    params: query
  })
}
